converting a csv into python list

30

converting a csv into python list -

import csv
with open('records.csv', 'r') as f:
  file = csv.reader(f)
  my_list = list(file)
print(my_list)

Comments

Submit
0 Comments